#ifndef DIALOG_GAME_H
#define DIALOG_GAME_H

#include <QMainWindow>
#include <QDialog>

#include "shuxie.h"

namespace Ui {
class Dialog_game;
}

class Dialog_game : public QMainWindow
{
    Q_OBJECT

public:
    explicit Dialog_game(QWidget *parent = 0);
    ~Dialog_game();

    bool open_file(QString file);
    void show_hanzi(HandWriteRecognizer::Character* mycharacter);
private slots:
    void on_bt_bs_clicked();

private slots:
    void on_bt_pret_clicked();

private slots:
    void on_bt_pinfen_clicked();

private slots:
    void on_bt_chonghua_clicked();

private slots:
    void on_bt_next_clicked();

private:
    Ui::Dialog_game *ui;
    HandWriteRecognizer::Recognizer myrecognizer;
    HandWriteRecognizer::Character* displayCharacter;//示范
    HandWriteRecognizer::Character xiecharacter;//书写
    int hz_index;
};

#endif // DIALOG_GAME_H
